package com.mhkj.fruit.key.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.mhkj.fruit.key.entity.KeyFruitArchives;
import com.mics.core.system.base.repository.BaseRepository;

public interface KeyFruitArchivesDao extends BaseRepository<KeyFruitArchives>{

	@Query("select t from KeyFruitArchives t where keyTypeId = :keyTypeId")
	List<KeyFruitArchives> findBuildByPhaseId(@Param("keyTypeId")Long keyTypeId);
}
